    <?php
    require('includes/fpdf.php');

$pdf = new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();
    ////include('includes/header.php');
//    //only need to check the session or a variable
////     echo "<table>";
////     foreach ($_SERVER as $k => $s){
////     	echo "<tr style='text-align:left;'><td>[".$k."]</td><td>".$s."</td></tr>";
////     }
////     echo "</table>";
//    echo "<p>Welcome!!!</p>";
//    if ($authenticated){
//        //success login, next authorize user
//        if ($authorized){
//            echo "Username: ".$username . "<br />Role: ". $role;
//            //continue the rest of the code, here...
//        } else {
//            echo "You are not authorized to view this page!!";
//            echo "<br />This is not INDEX.PHP but test.php!!!";
//        }
//    } else {
//        //try to login, but failed login
//        if ($_GET['login']=='failed'){
//            echo "<script type=\"text/javascript\">loginerror('login=failed&oriloc=".$_SERVER['PHP_SELF']."')</script>";
//        } else {
//            //not login yet
//            echo "<p>Please Login</p>";
//        }
//    }
//    
//    //include('includes/footer.php');
//    ?>

    <?php
    //date_default_timezone_set('Asia/Singapore');
    //echo date('Y-m-d H:i:s');
    //include('orders.php');
    //$conn = dbConnect();
    //resolveOrders($conn, 1);
    //array_shift(array_sell);
//    $array = array('A', 'B', 'C', 'D', 'E');
//    print_r($array);
//    echo "<br /><br />";
//    array_shift($array);
//    //print_r($newarray);
//    echo "<br /><br />";
//    print_r($array);



    ?>